#!/bin/bash

source ./.env

# docker build --no-cache --add-host archive.apache.org:10.200.14.142 -t httpd:$DOCKER_IMAGE_TAG -f $DOCKER_IMAGE_TAG/Dockerfile .
docker build --build-arg DOCKER_IMAGE_TAG=$DOCKER_IMAGE_TAG --build-arg TARGETARCH=$TARGETARCH -t datakit:$DOCKER_IMAGE_TAG .